<?php
// +----------------------------------------------------------------------
// | YunCMS
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://www.yunalading.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: jabber <2898117012@qq.com>
// +----------------------------------------------------------------------
return [
    '__pattern__' => [
        'id' => '\d+',
        'name' => '\w+',
    ],
    /**
     * 分类
     */
    '[category]' => [
        ':id' => ['home/index/index', ['method' => 'get']],
        ':name' => ['home/index/index', ['method' => 'get']],
    ],
    /**
     * 文章
     */
    '[p]' => [

    ]
];
